import java.net.URLEncoder;

import com.bootdo.common.wx.WxConstants;

public class cnmeee {
	
	public static void main(String[] args) {
//		String authUrl = WxConstants.AUTH_BASE_URL + "appid=" + WxConstants.APPID
//				+ "&redirect_uri=" + URLEncoder.encode(WxConstants.REDIRECT_URL)
//                + "&response_type=code"
//                + "&scope=" + WxConstants.SCOPE
//                + "&state=123#wechat_redirect";
//		
//		System.out.println(authUrl);
		
//		String authUrl = WxConstants.AUTH_BASE_URL + "appid=" + "wxcb74c2a7fb1fd161"
//				+ "&redirect_uri=" + URLEncoder.encode(WxConstants.REDIRECT_URL)
//                + "&response_type=code"
//                + "&scope=" + WxConstants.SCOPE
//                + "&state=123#wechat_redirect";
		
		String authUrl="taoke/pages/shopping-guide/index";
		String encode =URLEncoder.encode(authUrl);
		
		System.out.println(encode);
		
		
		//"https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxcb74c2a7fb1fd161&redirect_uri="+encode.UrlEncode(https://chengxh.test.utools.club/app/mini_programWeiXinTest)+"&response_type=code&scope=snsapi_userinfo&state=123&connect_redirect=1#wechat_redirect"
	}

}
